package com.test.ssm.service.impl;

import com.test.ssm.dao.ProviderDAO;
import com.test.ssm.pojo.Provider;
import com.test.ssm.service.ProviderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 徒有琴
 */
@Service
public class ProviderServiceImpl implements ProviderService {
    @Autowired
    private ProviderDAO providerDAO;

    @Override
    public List<Provider> getProviderList() {
        return providerDAO.getProviderList();
    }
}
